﻿using System;
using System.Data;

namespace Token.Piker.Core.Security
{
    /// <summary>
    /// 提供字符串的加密/解密
    /// </summary>
    public interface IEncrypt
    {
        /// <summary>
        /// 加密
        /// </summary>
        /// <param name="strInput"></param>
        /// <returns></returns>
        string Encode(string strInput);

        /// <summary>
        /// 解密
        /// </summary>
        /// <param name="strInput"></param>
        /// <returns></returns>
        string Decode(string strInput);
    }
}